package com.jcz.spring;

public class DemoSpring {
	private String name;
	private String how;
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getHow() {
		return how;
	}
	public void setHow(String how) {
		this.how = how;
	}
	
	public DemoSpring() {
		super();
	}
	public DemoSpring(String name, String how) {
		super();
		this.name = name;
		this.how = how;
	}
	public DemoSpring(String name) {
		super();
		this.name = name;
	}

	
	public void tx(){
		System.out.println(this.getName()+this.getHow());
	}
}
